home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Acao / grizzly_tank.swf / scripts / DefineButton2_559 / BUTTONCONDACTION on(release).as
Encoding:
Text File  |  2007-03-20  |  511 b   |  28 lines

  1. on(release){
  2.    if(gHelpCalled == false)
  3.    {
  4.       if(gResumeFrame == null)
  5.       {
  6.          hitMeter.gotoAndStop("strike0");
  7.          gScore = Number(0);
  8.          gSetNum = Number(1);
  9.          gotoAndPlay(1);
  10.       }
  11.       else
  12.       {
  13.          gotoAndStop(1);
  14.       }
  15.    }
  16.    else if(gHelpCalled == true)
  17.    {
  18.       if(gInTransition == true)
  19.       {
  20.          gotoAndPlay(Number(gPickUpFrame));
  21.       }
  22.       else
  23.       {
  24.          gotoAndStop("resumeset" + gSetNum);
  25.       }
  26.    }
  27. }
  28.